# -*- encoding:UTF-8 -*-
# 数据类型 -- 字典（dictionary）
dict = {"name":"Tom","age":15}
print(dict)
print("dict['name']:",dict['name'])
# print "dict['gender']:",dict['gender']
dict['name'] = "Jhon"
print("dict['name']:",dict['name'])

del dict['age']
print(dict)
name = dict.get("name")
print(name)
print(dict.items())

list = ("aaa","bbb")
dictionary = {list:"aaa"}
print(dictionary)

dictionary.clear()
del list
list = [1,2,3]
# dictionary = {list:"55555"}
# print(dictionary)